package com.tensquare.gathering.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description
 * @Date 2021/3/21 16:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tb_gathering")
public class Gathering {
    //ID
    @TableId("id")
    private String id;

    //活动名称
    @TableField("name")
    private String name;

    //大会简介
    @TableField("summary")
    private String summary;

    //详细说明
    @TableField("detail")
    private String detail;

    //主办方
    @TableField("sponsor")
    private String sponsor;

    //活动图片
    @TableField("image")
    private String image;

    //开始时间
    @TableField("starttime")
    private Date starttime;

    //截止时间
    @TableField("endtime")
    private Date endtime;

    //举办地点
    @TableField("address")
    private String address;

    //报名截止
    @TableField("enrolltime")
    private Date enrolltime;

    //是否可见
    @TableField("state")
    private String state;

    //城市
    @TableField("city")
    private String city;
}
